<html>
<head><title>Ex20</title></head>
<body>
<button id="btnMy" onclick="myFunction()">Click Me!</button>
<script>
	function myFunction()
	{
		document.getElementById("btnMy").innerText = "Hey You clicked me!";
	}
</script>
</body>
</html>